package com.tiger.cloud.dao.share;

import com.tiger.cloud.common.rw.DataSource;
import com.tiger.cloud.common.rw.ProjectDataSource;
import com.tiger.cloud.model.crm.User;
import com.tiger.cloud.model.share.ShareRecipientLog;

import org.apache.ibatis.annotations.Param;

import com.tiger.cloud.common.mybatis.MybatisTigerDao;

import java.util.List;

/**
 * 分享接受记录Dao
 */
public interface ShareRecipientLogDao extends MybatisTigerDao<ShareRecipientLog>{
	long countShare(@Param(value = "shareCode")String shareCode);
	long countByMobile(@Param(value = "recipientMobile") String recipientMobile);

	User queryShareMyselfByShare(@Param(value = "userId") Long id);

	List<User> queryShareMyselfList(@Param(value = "userId") Long id);
}